﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace QBZ.Evaluation.Repositories.DataAccess
{
    [Table("tb_skill")]
    public partial class TbSkill
    {
        [Key]
        public int SkillId { get; set; }

        public int SkillParentId { get; set; }

        [ForeignKey("SkillParentId")]
        public virtual TbSkillParent SkillParent { get; set; }

        public virtual List<TbSkillChild> SkillChildren { get; set; }

        [MaxLength(50)]
        public string SkillName { get; set; }

        [MaxLength(500)]
        public string SkillDescription { get; set; }

        public bool SkillIsDelete { get; set; }

        public DateTime CreateOn { get; set; }

        public int CreateBy { get; set; }

        public DateTime? UpdateOn { get; set; }

        public int? UpdateBy { get; set; }

        [Timestamp]
        public byte[] TimeStamp { get; set; }

        public Guid Guid { get; set; }

    }
}